package com.sptpc.demo1.service;

import com.sptpc.demo1.model.Order;

import java.util.List;

public interface IOrderService {
    List<Order> getALLOrders();

    void addNewOrder(Order saveorder, List<Integer> items);

    List<Order> findByUserName(String username);

    List<Order> findOrder(Order order);

    Order setOrderState(Order order,Integer stateID);

   void delOrderByID(Integer id);
}
